package com.xju.ikun.service.serviceImpl;

import com.xju.ikun.bean.MsrListBean;
import com.xju.ikun.dao.MsrListDao;
import com.xju.ikun.service.MsrListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MsrListServiceImpl implements MsrListService {
    @Autowired
    MsrListDao msrListDao;

    @Override
    public int insertinsertMsrListBean(MsrListBean msrListBean) {
        return msrListDao.insertinsertMsrListBean(msrListBean);
    }

    @Override
    public List<MsrListBean> findBymrListid(int mrlistid) {
        return msrListDao.findBymrListid(mrlistid);
    }

    @Override
    public int deleteByMrListidAndSongid(int mrlistid, int songid) {
        return msrListDao.deleteByMrListidAndSongid(mrlistid,songid);
    }
}
